﻿using System;
using System.Runtime.Serialization;

namespace MyAMS.WebServer.Models
{
    /// <summary>
    /// 签证基类
    /// </summary>
    [DataContract]
    public class BaseVisa
    {
        /// <summary>
        /// 获取或设置权限
        /// </summary>
        [DataMember]
        public Permission Permission { get; set; }

        /// <summary>
        /// 获取或设置签证结束时间
        /// </summary>
        [DataMember]
        public DateTime? Ends { get; set; }

        /// <summary>
        /// 获取或设置签证创建时间
        /// </summary>
        [DataMember]
        public DateTime? Created { get; set; }
    }
}
